package tp4;

import java.util.Arrays;
import java.util.Iterator;

import tp4.iterators.ItCroissant;

public class TabContainer implements Iterable<Integer>{
	protected Integer[] tab;

	@Override
	public String toString() {
		return Arrays.toString(tab);
	}

	@Override
	public Iterator<Integer> iterator() {
		return new ItCroissant<Integer>(tab);
	}

	public Integer[] getTab() {
		return tab;
	}

	
	
}
